<?php

declare (strict_types = 1);

namespace app\model\platform;

use app\model\member\MemberBaseModel;
use own\interface\OwnModelInteface;

class FeedbackModel extends OwnModelInteface
{
    protected $name = 'platform_feedback';

    protected $field = [];
    /**
     * 会员信息
     */
    public function member()
    {
        return $this->hasOne(MemberBaseModel::class, 'id', 'member_id')->field('id,nickname,avatar,name,mobile');
    }
}